home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998 January: Mac OS SDK / Dev.CD Jan 98 SDK2.toast / Development Kits (Disc 2) / QuickDraw GX / Programming Stuff / Sample Code / Printing Samples / Printer Drivers… / ImageWriterLQ (alt. rdip) / ImageWriterLQ.make < prev    next >
Encoding:
Text File  |  1996-06-15  |  7.1 KB  |  204 lines  |  [TEXT/MPS ]

  1. #==============================================================================================
  2. #
  3. #    Make FILE:        ImageWriterLQ.make
  4. #
  5. #    VERSION:        1.0
  6. #
  7. #    COPYRIGHT:        (c) 1992-1994 Apple Computer Inc.
  8. #                        All rights reserved.
  9. #
  10. #    PURPOSE:        This file contains the build commands for the
  11. #                    ImageWriter LQ driver.
  12. #
  13. #    4/26/93 - dmh - Made makefile totally self-supporting for b1 seed.
  14. #    9/13/93 - dmh - Updated for the b2 seed.
  15. #  12/18/93 - dmh - Updated for the b3 seed.
  16. #    8/28/94 - dmh - Finalized for SDK.
  17. #    6/14/96 - cn  - Updated to support MPW Pro #19.
  18. #
  19. #==============================================================================================
  20.  
  21. #======= Point these variables to your library directory =======
  22.  
  23. GXLibrariesSources            =    {MPW}GXLibraries:
  24. GXCompatibilityInterfaces    =    {MPW}GX Compatibility Interfaces:
  25.  
  26. #========== Directories Containing Source and Object Files ==========
  27.  
  28. Objects                    =    :Objects:
  29. Sources                    =    
  30. Targets                    =
  31.  
  32. #========== Compiler Options ==========
  33.  
  34. AsmOptions                =    -case obj
  35. COptions                =    -d applec -b2 -i "{CIncludes}" -i "{GXLibrariesSources}" -i "{GXCompatibilityInterfaces}"
  36. LinkOptions                =    -ra =resSysHeap,resPurgeable
  37.  
  38. #========== Printing Manager Dependent Header Files ==========
  39.  
  40. PrintManagerHeaderFiles    =    "{GXCompatibilityInterfaces}PrintingManager.h"        ∂
  41.                             "{GXCompatibilityInterfaces}PrintingMessages.h"        ∂
  42.                             "{GXCompatibilityInterfaces}PrintingExtensions.h"    ∂
  43.                             "{CIncludes}Collections.h"                            ∂
  44.                             "{CIncludes}GXMessages.h"                            ∂
  45.                             "{GXCompatibilityInterfaces}PrintingResTypes.h"        ∂
  46.                             "{GXCompatibilityInterfaces}PrintingErrors.h"
  47.  
  48. GraphicsHeaderFiles        =    "{GXCompatibilityInterfaces}graphics routines.h"    ∂
  49.                             "{GXLibrariesSources}GraphicsLibraries.h"            ∂
  50.                             "{GXCompatibilityInterfaces}math routines.h"            
  51.  
  52.  
  53. #========== Files to Link into OldAPI Segment ==========
  54.  
  55. OldAPISegObjs    =    "{Objects}OldAPIMsgJumpTable.a.o"            ∂
  56.                     "{Objects}OldAPIMessageIntf.c.o"            ∂
  57.                     "{Libraries}"MacRuntime.o
  58.  
  59.  
  60. #========== Files to Link into Universal Message Segment ==========
  61.  
  62. UnivSegObjs        =    "{Objects}UniversalMsgJumpTable.a.o"        ∂
  63.                     "{Objects}UniversalMessageIntf.c.o"            ∂
  64.                     "{Objects}DialogRoutines.c.o"                ∂
  65.                     "{Objects}TextLibrary.c.o"                    ∂
  66.                     "{Objects}PictureLibrary.c.o"                ∂
  67.                     "{Objects}FontLibrary.c.o"                    ∂
  68.                     "{Objects}ColorLibrary.c.o"                    ∂
  69.                     "{Objects}GraphicsLibrary.c.o"                ∂
  70.                     "{Libraries}"MacRuntime.o                    ∂
  71.                     "{Libraries}"Interface.o                    
  72.  
  73.  
  74. #========== Files to Link into the Chooser PACK ==========
  75.  
  76. ChooserPackObjs =    "{Objects}ChooserSupport.a.o"                ∂
  77.                     "{Objects}ChooserSupport.c.o"
  78.  
  79. #========== Files to Link into the Chooser LDEF ==========
  80.  
  81. ChooserLDEFObjs =    "{Objects}ChooserSupport.c.o"                
  82.  
  83.  
  84. #========== Link and Rez Build Statements ==========
  85.  
  86. "ImageWriterLQ"    ƒ    {OldAPISegObjs}                             ∂
  87.                     {UnivSegObjs}                                ∂
  88.                     {ChooserPackObjs}                            ∂
  89.                     {ChooserLDEFObjs}                            ∂
  90.                     "{Sources}ImageWriterLQ.make"                ∂
  91.                     "{Sources}LQResources.r"                    ∂
  92.                     "{Sources}OldAPIResources.r"                ∂
  93.                     "{Sources}UniversalMessageResources.r"
  94.         Link {OldAPISegObjs}                                    ∂
  95.               {LinkOptions}                                        ∂
  96.               -rt pdvr=1                                        ∂
  97.               -sg "ImageWriterLQ"                                ∂
  98.               -m SD_OldAPIMsgJumpTable                            ∂
  99.               -o "{Objects}IWLQ_OldAPISeg"
  100.         Link {UnivSegObjs}                                        ∂
  101.               {LinkOptions}                                        ∂
  102.               -rt pdvr=0                                        ∂
  103.               -sg "ImageWriterLQ"                                ∂
  104.               -m SD_UniversalMsgJumpTable                        ∂
  105.               -o "{Objects}IWLQ_UnivSeg"
  106.         Link    {ChooserPackObjs}                                ∂
  107.                 -rt PACK=-4096                                    ∂
  108.                 -sg PrintingPACK                                ∂
  109.                 -m EntryPoint                                    ∂
  110.                 -o "{Objects}IWLQ_PACK"
  111.         Link    {ChooserLDEFObjs}                                ∂
  112.                 -w                                                ∂
  113.                 -rt LDEF=-4096                                    ∂
  114.                 -sg LDEF                                        ∂
  115.                 -m LDEF                                            ∂
  116.                 -o "{Objects}IWLQ_LDEF"
  117.         Rez    -rd -i "{RIncludes}" -c 'scLQ' -t 'pdvr' -ov -s {Objects} ∂
  118.                 -o "{Targets}ImageWriterLQ" "{Sources}LQResources.r" "{Sources}OldAPIResources.r" ∂
  119.                 "{Sources}UniversalMessageResources.r" "{Sources}ChooserSupport.r" -append
  120.  
  121.  
  122. #========== Assemble Build Statements - OldAPIMsgJumpTable.a ==========
  123.  
  124. "{Objects}OldAPIMsgJumpTable.a.o"        ƒ     "{Sources}OldAPIMsgJumpTable.a"        ∂
  125.                                             "{Sources}ImageWriterLQ.make"
  126.     Asm {AsmOptions} {MakeJumpTable} "{Sources}OldAPIMsgJumpTable.a" -o "{Objects}OldAPIMsgJumpTable.a.o"
  127.     
  128.  
  129. #========== Assemble Build Statements - UniversalMsgJumpTable.a ==========
  130.  
  131. "{Objects}UniversalMsgJumpTable.a.o"    ƒ     "{Sources}UniversalMsgJumpTable.a"    ∂
  132.                                             "{Sources}ImageWriterLQ.make"
  133.     Asm {AsmOptions} {MakeJumpTable} "{Sources}UniversalMsgJumpTable.a" -o "{Objects}UniversalMsgJumpTable.a.o"
  134.     
  135.  
  136. #========== Assemble Build Statements - ChooserSupport.a ==========
  137.  
  138. "{Objects}ChooserSupport.a.o"    ƒ     "{Sources}ChooserSupport.a"        ∂
  139.                                     "{Sources}ImageWriterLQ.make"
  140.     Asm {AsmOptions} {MakeJumpTable} {Sources}ChooserSupport.a -o {Objects}ChooserSupport.a.o
  141.  
  142.  
  143. #========== Compile Build Statements - OldAPIMessageIntf.c ==========
  144.  
  145. "{Objects}OldAPIMessageIntf.c.o"    ƒ    "{Sources}OldAPIMessageIntf.c"    ∂
  146.                                         {PrintManagerHeaderFiles}        ∂
  147.                                         {GraphicsHeaderFiles}            ∂
  148.                                         "{Sources}ImageWriterLQ.make"    ∂
  149.                                         "{Sources}LQResources.h"             ∂
  150.                                         "{Sources}OldAPIMessageIntf.h"
  151.     SC "{Sources}OldAPIMessageIntf.c" -o "{Objects}OldAPIMessageIntf.c.o"  {COptions}
  152.  
  153.  
  154. #========== Compile Build Statements - UniversalMessageIntf.c ==========
  155.  
  156. "{Objects}TextLibrary.c.o"            ƒ "{GXLibrariesSources}TextLibrary.c"
  157.     SC {COptions} -o {Objects} "{GXLibrariesSources}TextLibrary.c"
  158.  
  159. "{Objects}PictureLibrary.c.o"        ƒ "{GXLibrariesSources}PictureLibrary.c"
  160.     SC {COptions} -o {Objects} "{GXLibrariesSources}PictureLibrary.c"
  161.  
  162. "{Objects}FontLibrary.c.o"            ƒ "{GXLibrariesSources}FontLibrary.c"
  163.     SC {COptions} -o {Objects} "{GXLibrariesSources}FontLibrary.c"
  164.  
  165. "{Objects}ColorLibrary.c.o"        ƒ "{GXLibrariesSources}ColorLibrary.c"
  166.     SC {COptions} -o {Objects} "{GXLibrariesSources}ColorLibrary.c"
  167.  
  168. "{Objects}GraphicsLibrary.c.o"        ƒ "{GXLibrariesSources}GraphicsLibrary.c"
  169.     SC {COptions} -o {Objects} "{GXLibrariesSources}GraphicsLibrary.c"
  170.  
  171.  
  172. "{Objects}UniversalMessageIntf.c.o"    ƒ    "{Sources}UniversalMessageIntf.c"        ∂
  173.                                         {PrintManagerHeaderFiles}                ∂
  174.                                         {GraphicsHeaderFiles}                    ∂
  175.                                         "{Sources}ImageWriterLQ.make"            ∂
  176.                                         "{Sources}LQResources.h"                     ∂
  177.                                         "{Sources}UniversalMessageIntf.h"
  178.     SC "{Sources}UniversalMessageIntf.c" -o "{Objects}UniversalMessageIntf.c.o"  {COptions}
  179.  
  180.  
  181. #========== Compile Build Statements - ChooserSupport.c ==========
  182.  
  183. "{Objects}ChooserSupport.c.o"    ƒ    "{Sources}ChooserSupport.c"            ∂
  184.                                     {PrintManagerHeaderFiles}            ∂
  185.                                     {GraphicsHeaderFiles}                ∂
  186.                                     "{Sources}ImageWriterLQ.make"        ∂
  187.                                     "{Sources}ChooserSupport.a"         ∂
  188.                                     "{Sources}ChooserSupport.r"
  189.     SC "{Sources}ChooserSupport.c" -o "{Objects}ChooserSupport.c.o"  {COptions}
  190.  
  191.  
  192. #========== Compile Build Statements - DialogRoutines.c ==========
  193.  
  194. "{Objects}DialogRoutines.c.o"    ƒ    "{Sources}DialogRoutines.c"            ∂
  195.                                     "{Sources}DialogRoutines.h"            ∂
  196.                                     {PrintManagerHeaderFiles}            ∂
  197.                                     {GraphicsHeaderFiles}                ∂
  198.                                     "{Sources}ImageWriterLQ.make"        ∂
  199.                                     "{Sources}LQResources.h"             ∂
  200.                                     "{Sources}UniversalMessageIntf.h"
  201.     SC "{Sources}DialogRoutines.c" -o "{Objects}DialogRoutines.c.o"  {COptions}
  202.  
  203.  
  204.